package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.DishDTO;
import com.itheima.pojo.Dish;

public interface DishService extends IService<Dish> {

    /**
     * <p>Description: 新增菜品，同时还要保存对应的口味数据</p>
     *
     * @author liuyiming
     * @date 2022-10-10 10:45
     * @version 1.0.0
     */
    public void saveDish(DishDTO dishDTO);

    /**
     * <p>Description: 根据菜品ID查询菜品具体信息</p>
     *
     * @author liuyiming
     * @date 2022-10-10 19:06
     * @version 1.0.0
     */
    public DishDTO queryDishInfo(String id);

    /**
     * <p>Description: 根据ID修改菜品</p>
     *
     * @author liuyiming
     * @date 2022-10-12 10:05
     * @version 1.0.0
     */
    public void updateDishInfoById(DishDTO dishDTO);
}
